package com.example.dao;

import com.example.domain.TeacherEntity;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

@Repository
public interface TeacherMapper1 {
    TeacherEntity selectByPrimaryKey(long id);

    void updateById(HashMap<String,String> queryMap);

    List<TeacherEntity> getAll();

}
